﻿
using Core.Domain.Common;
using System;
using System.Collections.Generic;
namespace Core.Domain.Companys
{
    /// <summary>
    /// 公司结构
    /// </summary>
    public partial class Company :BaseEntity
    {
        /// <summary>
        /// 公司属性
        /// </summary>
        private ICollection<CompanyAttribute> _companyAttribute;

        /// <summary>
        /// 公司属性
        /// </summary>
        public ICollection<CompanyAttribute> CompanyAttribute
        {
            get { return _companyAttribute ?? (_companyAttribute = new List<CompanyAttribute>()); }
            protected set { _companyAttribute = value; }
        }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 所属管理账户
        /// </summary>
        public int CustomerId { get;set; }

        /// <summary>
        /// 说明
        /// </summary>
        public string Memo { get; set; }

        /// <summary>
        /// 官方网站
        /// </summary>
        public string URL { get; set; }

        /// <summary>
        /// 规模编号
        /// </summary>
        public int ScaleId { get; set; }

        /// <summary>
        /// 城市编号
        /// </summary>
        public int CityId { get; set; }

        /// <summary>
        /// 权重
        /// </summary>
        public int DisplayOrder { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Active { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateOn { get; set; }
    }
}
